package com.modelo.datos.app;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.core.app.modelo.Entidad;
import com.core.app.modelo.ICatalogo;
@Entity(name = "WorkStation")
@Table(name = "WorkStation")
public class WorkStation extends Entidad implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "idWorkStation")
	@Basic(optional = false)
	private Integer idWorkStation;
	
	@Column(name="idWorkStation", updatable = false, insertable = false)
	@Basic(optional = false)
	private Integer id;
	
	@Column(name = "mac")
	@Basic(optional = true)
	private String mac;
	
	@Column(name = "ip")
	@Basic(optional = true)
	private String ip;
	
	@Column(name = "nombre")
	@Basic(optional = true)
	private String nombre;
	
	public WorkStation(){
		
	}

	public Integer getIdWorkStation() {
		return idWorkStation;
	}

	public void setIdWorkStation(Integer idWorkStation) {
		this.idWorkStation = idWorkStation;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getNombre() {
		return nombre;
	}

	public void setNombre(String nombre) {
		this.nombre = nombre;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
		
}
